Foxit PDF Conversion SDK
FoxitPDFConversionSDKPython2.PDF2MdSettingData Class Reference

Inherits FoxitPDFConversionSDKPython2._object.

Public Member Functions

def PDF2MdSettingData ()
 Constructor. More...
 

Static Public Attributes

 e_TableFormatHTML = _fpdfconversionsdk.PDF2MdSettingData_e_TableFormatHTML
 Table format: HTML table tags.
 
 e_TableFormatMarkdown = _fpdfconversionsdk.PDF2MdSettingData_e_TableFormatMarkdown
 Table format: Markdown pipe syntax (default).
 
 enable_bold = _fpdfconversionsdk.PDF2MdSettingData_enable_bold
 Whether to preserve bold formatting from the original PDF. When true, text that is bold in the PDF will have bold markers in output; when false (default), bold formatting is stripped. Has no effect on text that is not bold in the PDF.
 
 enable_italic = _fpdfconversionsdk.PDF2MdSettingData_enable_italic
 Whether to preserve italic formatting from the original PDF. When true (default), text that is italic in the PDF will have italic markers in output; when false, italic formatting is stripped. Has no effect on text that is not italic in the PDF.
 
 include_header_footer = _fpdfconversionsdk.PDF2MdSettingData_include_header_footer
 Whether to include page header/footer (artifact) content. Default: false.
 
 skip_ocr_pages = _fpdfconversionsdk.PDF2MdSettingData_skip_ocr_pages
 Whether to silently skip pages that contain only path/image objects (scan-only pages that would normally require OCR). When false (default), such pages cause to be thrown. When true, such pages are skipped and conversion continues.
 
 table_format = _fpdfconversionsdk.PDF2MdSettingData_table_format
 Table output format. Default value: .
 

Detailed Description

This class represents setting data used for converting PDF documents to Markdown format.

Constructor & Destructor Documentation

◆ PDF2MdSettingData()

def FoxitPDFConversionSDKPython2.PDF2MdSettingData.PDF2MdSettingData ( )

Constructor.

Constructor, with parameters.

Parameters
[in]table_formatTable output format. Default: .
[in]include_header_footerWhether to include page header/footer content. Default: false.
[in]enable_italicWhether to apply italic markers in output. Default: true.
[in]enable_boldWhether to apply bold markers in output. Default: false.
[in]skip_ocr_pagesWhether to silently skip scan-only pages instead of throwing . Default: false.